package com.ruoyi.zzw.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.zzw.mapper.EmphasisPeopleMapper;
import com.ruoyi.zzw.domain.EmphasisPeople;
import com.ruoyi.zzw.service.TEmphasisPeopleService;

/**
 * 重点人员管理Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-12-06
 */
@Service
public class EmphasisPeopleServiceImpl implements TEmphasisPeopleService
{
    @Autowired
    private EmphasisPeopleMapper emphasisPeopleMapper;

    /**
     * 查询重点人员管理
     * 
     * @param cPeopleId 重点人员管理主键
     * @return 重点人员管理
     */
    @Override
    public EmphasisPeople selectTEmphasisPeopleByCPeopleId(Long cPeopleId)
    {
        return emphasisPeopleMapper.selectTEmphasisPeopleByCPeopleId(cPeopleId);
    }

    /**
     * 查询重点人员管理列表
     * 
     * @param emphasisPeople 重点人员管理
     * @return 重点人员管理
     */
    @Override
    public List<EmphasisPeople> selectTEmphasisPeopleList(EmphasisPeople emphasisPeople)
    {
        return emphasisPeopleMapper.selectTEmphasisPeopleList(emphasisPeople);
    }

    /**
     * 新增重点人员管理
     * 
     * @param emphasisPeople 重点人员管理
     * @return 结果
     */
    @Override
    public int insertTEmphasisPeople(EmphasisPeople emphasisPeople)
    {
        return emphasisPeopleMapper.insertTEmphasisPeople(emphasisPeople);
    }

    /**
     * 修改重点人员管理
     * 
     * @param emphasisPeople 重点人员管理
     * @return 结果
     */
    @Override
    public int updateTEmphasisPeople(EmphasisPeople emphasisPeople)
    {
        return emphasisPeopleMapper.updateTEmphasisPeople(emphasisPeople);
    }

    /**
     * 批量删除重点人员管理
     * 
     * @param cPeopleIds 需要删除的重点人员管理主键
     * @return 结果
     */
    @Override
    public int deleteTEmphasisPeopleByCPeopleIds(Long[] cPeopleIds)
    {
        return emphasisPeopleMapper.deleteTEmphasisPeopleByCPeopleIds(cPeopleIds);
    }

    /**
     * 删除重点人员管理信息
     * 
     * @param cPeopleId 重点人员管理主键
     * @return 结果
     */
    @Override
    public int deleteTEmphasisPeopleByCPeopleId(Long cPeopleId)
    {
        return emphasisPeopleMapper.deleteTEmphasisPeopleByCPeopleId(cPeopleId);
    }
}
